<?php
/**
 * <https://y.st./>
 * Copyright © 2016 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'include.d version 0.0.1.3',
	'<{body}>' => <<<END
<p>
	The University of <span class="redacted">[REDACTED]</span> wrote to me offering me the option of filling out a form saying that I&apos;m having trouble getting proof of my completion of high school instead of providing said proof.
	I might be able to take that option, but their form isn&apos;t on their website and is on a website that maliciously discriminates against $a[Tor] users.
	I&apos;ll just continue to wait for the official documents to arrive and try to enroll for the term after this coming one.
</p>
<p>
	I found that my new <a href="apt:icedove">mail client</a> leaks $a[DNS] queries just like my old one! Because of this, I can&apos;t connect to my onion-based CardDAV server.
	This is both a problem of privacy and one of practicality.
</p>
<p>
	The Copperhead $a[CEO] wrote to me about my inquiry from yesterday.
	He says that yes, CopperheadOS makes use of proprietary software, specifically hardware drivers.
	That&apos;s very disappointing.
	At least we still have <a href="https://replicant.us./">Replicant</a> though, which has a strong commitment to freedom.
</p>
<p>
	I wrote up the final test for <a href="https://git.vola7ileiax4ueow.onion/y.st./include.d">include.d</a> only to find that my <code>/robots.txt</code> file interpretation class always seems to say that accessing every part of a website is available to be crawled, regardless of the actual rules specified in the file.
	All this time, I thought that my spider was respecting <code>/robots.txt</code> files, but it hasn&apos;t been! I&apos;m not sure how I didn&apos;t catch this before.
	Surely I did some sort of output testing when I was building the class.
	In any case, it&apos;s been fixed now, and include.d version 0.0.1.3 has been released!
</p>
<p>
	I began work on the $a[PHP] class needed to convert my weblog entries into plain text files.
	I decided to take it in a slightly different direction than originally planned, and am making it function on entire $a[XHTML] files instead of just the fragments that are my actual entries.
	This way, it should work on any well-formed Web page, not just my own work (not that much of the Web actually uses well-formed documents).
	This might result in my upper navigation showing up in the plain text version of my entries, but that might not be a bad thing.
	Additionally, I&apos;ve decided to use $a[PHP]&apos;s <a href="https://secure.php.net./manual/en/book.xml.php">$a[XML] parser</a> instead of the <a href="https://secure.php.net./manual/en/class.domdocument.php"><code>\\DOMDocument</code> class</a>.
	This has the disadvantage that my code won&apos;t be able to handle any page that isn&apos;t well-wormed, even if it&apos;s perfectly-valid $a[HTML], but the advantage that it&apos;ll be loads easier to write.
	I&apos;m not really a fan of markup that isn&apos;t well-formed anyway, it&apos;s not my job to enable it.
	If someone wants to take the time to build an $a[HTML] to plain text converter, by all means, they should.
	I&apos;m plenty happy only parsing valid $a[XHTML] pages though, especially as I only need to parse my own pages.
	My class isn&apos;t really meant to be unleashed on the Web anyway.
	It&apos;s built to take one format that&apos;s used for storage and convert it to another that&apos;s used for presentation.
	The fact that my storage format is identical to $a[XHTML] is only a feature of convenience.
</p>
<p>
	There&apos;s a high probability that the next include.d update will only add this new class.
	The last update got to be a bit large, but it really only had one goal: fix up the output of a single existing function.
	All other additions made were either required in order to fix that function or were the result of more code being added before the main goal could be accomplished.
	The new output required several new classes be added to embody the data more precisely.
	This class is less ambitious, so the update should come quicker and have less changes.
</p>
<p>
	My mother wants us to prepare for the upcoming move, but has given no specific instructions.
	I&apos;ve already set aside a couple of boxes of stuff that I&apos;ll be trying to get rid of at our upcoming garage sale and my stuff is very consolidated.
	After all, I don&apos;t really have much living space.
	She did mention that the dishes need to be done though, so I suppose that I&apos;ll work on that, despite the fact that it&apos;s Cyrus&apos; job, not mine.
</p>
<section id="docmod">
	<h2>Document modifications</h2>
	<p>
		On <a href="/en/weblog/2017/11-November/02.xhtml">2017-11-02</a>, this journal page was modified in order to redact the name of the university and the link to their website.
	</p>
</section>
END
);
